fix(a2a): stabilize smoke tests with Redis - #45
Merged
Conversation
|
xiaoming-2026 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
head_sha:
|
|
head_sha:
|
|
🤖 This pull request has been merged, and the target branch is up to date. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Paired: GitHub #45 ↔ GitCode !133
变更说明
问题原因
Agent D 的结构化结果经过 Agent B 和 Agent A 的 ReAct 层后可能被模型重新表述,展示格式不是稳定协议,严格文本断言会造成随机失败。
Redis 场景中,原节流逻辑在慢速
delegate.save()前记录时间。单次 Redis 保存超过节流窗口后,下一事件会再次同步持久化,导致事件队列积压。积压未在 60 秒内排空时,INPUT_REQUIRED 的消费队列仍被关闭,远端最终被判定为REMOTE_UNAVAILABLE。验证
mvn -pl agent-service-app -am test:agent-service-app385 个测试通过,0 failure,0 error。application-a2a-redis.local.yml(checkpointer.type=redis)完整执行smoke-a2a.sh:计算器、Agent C 流式/非流式、Agent D 流式/非流式中断恢复全部通过,包括原失败点[6b]。git diff --check通过;测试结束后端口 18090-18093 均已释放。